package com.it.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 货物
 */
public class Goods implements Serializable {
    private Integer id;                     //id
    private String name;                    //名称
    private String Product_Types;           //商品类型
    private String Supplier;                //供货商
    private String Supplier_Contact;//供货商联系方式

    public Goods() {
    }

    public Goods(Integer id, String name, String product_Types, String supplier, String supplier_Contact) {
        this.id = id;
        this.name = name;
        Product_Types = product_Types;
        Supplier = supplier;
        Supplier_Contact = supplier_Contact;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProduct_Types() {
        return Product_Types;
    }

    public void setProduct_Types(String product_Types) {
        Product_Types = product_Types;
    }

    public String getSupplier() {
        return Supplier;
    }

    public void setSupplier(String supplier) {
        Supplier = supplier;
    }

    public String getSupplier_Contact() {
        return Supplier_Contact;
    }

    public void setSupplier_Contact(String supplier_Contact) {
        Supplier_Contact = supplier_Contact;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", Product_Types='" + Product_Types + '\'' +
                ", Supplier='" + Supplier + '\'' +
                ", Supplier_Contact='" + Supplier_Contact + '\'' +
                '}';
    }
}
